package com.negotium.test.dominio.dao;

import com.negotium.context.BeanContainer;
import com.negotium.dominio.Concepto;
import com.negotium.dominio.dao.BusinessObjectDAO;
import com.negotium.dominio.dao.ConceptoDAO;
import com.negotium.test.core.SimpleDAOTestCase;

public class ConceptoDAOTestCase extends SimpleDAOTestCase<Concepto> {

	private static final ConceptoDAO dao = (ConceptoDAO) BeanContainer.getBean("conceptoDAO");
	
	@Override
	protected Concepto createTestObject() {
		Concepto concepto = new Concepto();
		concepto.setMonto(2.5);
		concepto.setDescripcion("Desc Test");
		return concepto;
	}

	@Override
	protected BusinessObjectDAO<Concepto> getDAO() {
		return dao;
	}
	
}
